package com.railway.bean;

import java.util.List;

/**
 * @author 33676
 *
 */
public class Carriage {

	private int train_id;//列车id
	
	private int carriage_num;//车厢号
	
	private int carriage_type;//车厢类型
	
	private int seat_num;//座位排数
	

	public int getTrain_id() {
		return train_id;
	}

	public void setTrain_id(int train_id) {
		this.train_id = train_id;
	}

	public int getCarriage_num() {
		return carriage_num;
	}

	public void setCarriage_num(int carriage_num) {
		this.carriage_num = carriage_num;
	}

	public int getCarriage_type() {
		return carriage_type;
	}

	public void setCarriage_type(int carriage_type) {
		this.carriage_type = carriage_type;
	}

	

	public int getSeat_num() {
		return seat_num;
	}

	public void setSeat_num(int seat_num) {
		this.seat_num = seat_num;
	}

	public Carriage(int train_id, int carriage_num, int carriage_type) {
		super();
		this.train_id = train_id;
		this.carriage_num = carriage_num;
		this.carriage_type = carriage_type;
	}

	
	public Carriage(int train_id, int carriage_num, int carriage_type, int seat_num) {
		super();
		this.train_id = train_id;
		this.carriage_num = carriage_num;
		this.carriage_type = carriage_type;
		this.seat_num = seat_num;
	}

	public Carriage() {
		super();
		// TODO Auto-generated constructor stub
	}

	
	
}
